/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.composition.composition.impl;
import za.ac.cput.composition.composition.composition;
/**
 *
 * @author Dwayne
 */
public class Lecturer implements composition
{    
    private String LectName = "Peterson";
    private String FirstName;
    private toDate date;
        
    @Override
   public String Lecturer(String theFirstName, toDate theDate)
    {
        FirstName = theFirstName;
        date = theDate;
        return String.format("%s,%s", FirstName, date);
    }
    
   @Override
    public String LectName()
    {
        return LectName;
    }
    
    /*@Override
    public String toString()
    {
        return "4/5/6";
    }*/
        
    @Override
    public String validate()
    {       
            return "valid";
    }
      
    @Override
    public void setName(String name)
    {
        this.LectName = name;
    }
    
    @Override
    public String getName()
    {
        return LectName;
    }
     
    @Override
    public String toMill()
    {
        return String.format( "Lecturer`s name is: %s",LectName);
    }    
    
    @Override
    public String stringChange()
    {
       return String.format("Lecturer`s name is now changed to : %s", LectName);
    }  
}
